package com.yunhaikeji.api.module.person.entity;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunhaikeji.api.common.Constants;
import com.yunhaikeji.api.common.StringUtils;
import com.yunhaikeji.core.persistence.DataModel;
import com.yunhaikeji.core.util.AESUtil;
import com.yunhaikeji.core.util.DateUtils;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.util.ObjectUtils;

import java.util.*;


/**
 *  remark: 上报人员信息表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("person")
public class Person extends DataModel {


    private String no;

    private String name;

    /**
     * 人脸头像存放路径
     */
    private String avatar;
    @TableField(exist = false)
    private String avatarBase64;

    /**
     * 删除标记
     */
    private boolean delFlag;


    /**
     * 同步状态(0-未同步; 1-已同步)
     */
    private int syncStatus;


}